package org.zwy.gradetrack.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.zwy.gradetrack.entity.CourseGoalAchievement;
import org.zwy.gradetrack.mapper.CourseGoalAchievementMapper;
import org.zwy.gradetrack.service.CourseGoalAchievementService;
import org.zwy.gradetrack.vo.CourseGoalAchievementVo;

import java.util.List;

/**
 * 课程目标达成度Service实现类
 */
@Service
public class CourseGoalAchievementServiceImpl extends ServiceImpl<CourseGoalAchievementMapper, CourseGoalAchievement> implements CourseGoalAchievementService {
    
    @Override
    public List<CourseGoalAchievementVo> getAchievementsWithIndicator(Integer courseId, Integer academicYear, Integer semester) {
        return ((CourseGoalAchievementMapper) baseMapper).getAchievementsWithIndicator(courseId, academicYear, semester);
    }
} 